//
//  TimeViewController.m
//  Futures
//
//  Created by Cheng on 2017/6/22.
//  Copyright © 2017年 Cheng. All rights reserved.
//

#import "TimeViewController.h"
#import "TimeLineView.h"
#import "ChartViewController.h"


@interface TimeViewController ()
{
    TimeLineView *_timeLineView;
}
@end

@implementation TimeViewController



- (void)viewDidLoad {
    [super viewDidLoad];
    
    TimeLineView *timeLineView = [[TimeLineView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, kPageContentViewH)];
    
    [self.view addSubview:timeLineView];
    
    _timeLineView = timeLineView;
}

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    
    [_timeLineView viewWillApper];
}

- (void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    
    [_timeLineView viewWillDisapper];
}


@end
